import request from '@/utils/request'

// 
export function getMsgList(data) {
  return request({
    url: '/system/userMessage/list',
    method: 'get',
    data,
    isJson: false,
  })
}

// 已读
export function netMsgRead(data) {
  return request({
    url: '/system/userMessage/read',
    method: 'post',
    data,
    isJson: true,
  })
}

// 是否有未读
export function getUnread(data) {
  return request({
    url: '/system/userMessage/hasNoRead',
    method: 'get',
    data,
    isJson: true,
  })
}
